home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / intrvews / xgrab.lha / xgrab / grabst / malloc.h < prev    next >
C/C++ Source or Header  |  1990-03-06  |  342b  |  17 lines

  1. /**
  2.    GRAB Graph Layout and Browser System
  3.  
  4.    Copyright (c) 1989, Tera Computer Company
  5.  **/
  6.  
  7. #ifdef GarbageCollect
  8. extern char * gc_malloc() ;
  9. extern void gc_free() ;
  10. extern char * gc_realloc() ;
  11.  
  12. #define malloc(t) gc_malloc(t)
  13. #define free(t) gc_free(t)
  14. #define calloc(n,m) gc_malloc((n)*m) 
  15. #define realloc(t,n) gc_realloc(t,n) 
  16. #endif 
  17.